package com.lagou.xm.io.pojo;

import com.lagou.xm.io.utils.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * @author XM,Email is huangwei_xm@163.com
 * @ClassName BoundSql
 * @Package com.lagou.xm.io.pojo
 * @Description Sql转换结果集
 * @since 2020/9/25 1:53
 * @Copyright: 训练营
 */
public class BoundSql {
    private String sqlText;
    private List<ParameterMapping> parameterMappingList = new ArrayList<ParameterMapping>();

    public BoundSql(String sqlText, List<ParameterMapping> parameterMappingList) {
        this.sqlText = sqlText;
        this.parameterMappingList = parameterMappingList;
    }

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public List<ParameterMapping> getParameterMappingList() {
        return parameterMappingList;
    }

    public void setParameterMappingList(List<ParameterMapping> parameterMappingList) {
        this.parameterMappingList = parameterMappingList;
    }
}
